//按需导入方法
import { login } from '@/api/login.js'
import { getMenus } from '@/api/home.js'
import { getUserInfo } from '@/api/users.js'
import { editUserState } from '@/api/users.js'
import { addUser } from '@/api/users.js'
import { fenUserRolse } from '@/api/users.js'
import { editUserInfo } from '@/api/users.js'
import { delUserInfo } from '@/api/users.js'
import {getUserRights} from '@/api/rights.js'
import {getUserRoles} from '@/api/rights.js'
import {delRolseRight} from '@/api/rights.js'
import {getUserRightsTree} from '@/api/rights.js'
import {getGoodsClassInfo} from '@/api/goodsClass.js'
import {addGoodsClass} from '@/api/goodsClass.js'


//按需导出登录API
export const loginAPI = login
////按需导出获取菜单API
export const getMenusAPI = getMenus
//导出用户列表API
export const getUserInfoAPI = getUserInfo
//导出修改用户状态API
export const editUserStateAPI = editUserState
//导出新增用户API
export const addUserAPI = addUser
//导出删除用户信息API
export const delUserInfoAPI = delUserInfo
//导出修改用户信息API
export const editUserInfoAPI = editUserInfo
//导出获取权限API
export const getUserRightsAPI = getUserRights
//导出获取权限API
export const getUserRolesAPI = getUserRoles
//导出移除指定角色相应权限API
export const delRolseRightAPI = delRolseRight
//导出分配用户权限树API
export const getUserRightsTreeAPI = getUserRightsTree
//导出确认重新分配用户角色API
export const fenUserRolseAPI = fenUserRolse
//导出商品分类信息API
export const getGoodsClassInfoAPI = getGoodsClassInfo
//导出添加商品分类API
export const addGoodsClassAPI = addGoodsClass
